@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden"  id="columnId" value="${columnId}">
            <input type="hidden"  id="siteId"  value="${siteId}">
            <input type="hidden"  id="isJP"  value="${isJP}">
            <input type="hidden"  id="isMS"  value="${isMS}">
            
             <div class="row">
             	<div class="col-sm-12"> <h3>课程列表</h3></div>
             </div>
             <div class="row row-lg">
                <div class="col-sm-12">
	                 <div class="hidden-xs" id="ColumnRoomTableToolbar" role="group">
		            	 @if(shiro.hasPermission("/clmRoom/detail")){
                                <#button name="查看" icon="fa-edit" clickFun="ColumnRoom.openClmRoomLook()" space="true"/>
                         @}
                         
		                 @if(shiro.hasPermission("/teacher/add")  && !isJP ){
		                     <#button name="添加" icon="fa-plus" clickFun="ColumnRoom.openAddRoom()"/>
		                 @}
		                 @if(shiro.hasPermission("/teacher/update")){
                              <#button name="修改" icon="fa-edit" clickFun="ColumnRoom.openRoomUtilUpdate()" space="true"/>
                         @}
                         @if(shiro.hasPermission("/teacher/delete")){
                             <#button name="删除" icon="fa-remove" clickFun="ColumnRoom.roomDelete()" space="true"/>
                         @}
                         @if(shiro.hasPermission("/teacher/update") && !isJP){
                             <#button name="上下架" icon="fa-edit" clickFun="ColumnRoom.roomDownOrUp()" space="true"/>
                         @}
                         @if(shiro.hasPermission("/teacher/update") && !isJP ){
                            <#button name="置顶" icon="fa-edit" clickFun="ColumnRoom.roomTopOrNo()" space="true"/>
                         @}
		             </div>
             		<#table id="ColumnRoomTable"/>
             	</div>
			</div>	
            <!-- <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TeacherInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TeacherInfoDlg.close()"/>
                </div>
            </div> -->
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/clm/column/column_room.js"></script>
@}
